﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MartinCarolan.EventSpy;

namespace MartinCarolan.EventSpy.Test
{
    class Program
    {
        [STAThread()]
        static void Main(string[] args)
        {
            TestObject testObject = new TestObject();

            var spy = new EventSpy();

            //var form = new MartinCarolan.EventSpy.UI.TestForm();
            //spy.Register(form.TestTextBox);

            spy.Register(testObject);

            testObject.RunTest();
            testObject.RunTest();
            testObject.RunTest();
            Console.ReadLine();
        }
    }
}
